package com.example.service1.common.api;


import com.example.service1.common.api.entity.ResponseResult;
import com.example.service1.common.pojo.M2;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "m2-service",path = "/m2")
public interface M2Service {

    @GetMapping("/update/info")
    public ResponseResult<M2> updateM2();
}
